In this tutorial we’ll install the Debian Linux 9 (squeeze), Apache 2 with mpm-itk (to run each web as a isolated user),...
How to upgrade to PHP 5.3 on Debian Lenny
Ástþór IPDotdeb provides a repository with PHP 5.3 for lenny and it’s easy to upgrade:
1. Add these lines to the apt sources (pico /etc/apt/sources.list)
deb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all
2. Download and import the dotdeb key
wget http://www.dotdeb.org/dotdeb.gpg
cat dotdeb.gpg | sudo apt-key add -
3. Update apt and dist-upgrade
apt-get update
apt-get dist-upgrade
-
Hi,
This was a good article, definitely helped me out — I first had to upgrade my client’s server from Debian 4 (Etch), to Debian 5 (Lenny), and now Debian 6 (Squeeze).
Although, I didn’t wait to see if Squeeze’s repos would upgrade PHP from 5.2 to 5.3, this article came just as I was looking for that!
Thanks!
-
Lenny support on DotDeb.org is no more! To install 5.3 on Lenny, you’ll need to manually download the packages at http://archives.dotdeb.org/ and use dpkg -i to install the packages by hand. Cheers!